<{include file="public/header.html"}> 
	<!--中间内容-->
	<div class="w1180-con">
		<div class="mt20">
			<!--<div class="my-order">
				<span>我的订单</span>
				<span class="fr">订单号：<span>16062420205411885</span></span>
			</div>-->
                        <form id="form_paysubmit" action="<{eval url('cart/paysubmit')}>" method="post">
			<div class="order-detail">
				<table class="duobao-con">
					<tr class="bbf5"><th>图片</th><th style="width:490px;">商品</th><th>价值</th><th>单价(溜珠/人次)</th><th>人次</th><th class="w185">小计</th></tr>
					<tr id="shoplist-<{$shoplist['id']}>">
                        <td><img class="order_img" src="<{$shoplist['thumb']}>" /></td>
                        <td ><a href="<{$shoplist['detail_url']}>" style="color:#0082f0;"><{$shoplist['title']}></a></td>
                        <td>￥<{$shoplist['money']}></td>
                        <td><{$shoplist['cart_yunjiage']}>&nbsp;个</td>
                        <td>
                            <span class="times">
                                <{$shoplist['cart_xiaoji']}>&nbsp;次
                            </span>							
                        </td>
                        <td class="w185"><span id="xj-number" class="xj-number mr5" style="width: 70px;"><{$shoplist['cart_xiaoji']}>溜珠</span></td>
					</tr>
				</table>
				<div class="count bbottom-eee" style="margin-bottom: 0;">
					<span class="fr">商品总需：<span class="boss-red mr5"><{$shoplist['cart_xiaoji']}></span>溜珠</span>
					<div class="clear"></div>
				</div>
                            
                            <div class="pearl unenough">
                                <span class="fr">余额支付：<span class="how-balance mr5 boss-red" id="pay_money">0</span>溜珠</span>
                                <span class="fl"><input class="mr5" type="checkbox" id="moneyCheckbox" name="moneycheckbox"/>使用余额支付,账户余额：<span class="how-balance boss-red mr5" id="money_balance"><{$userMoney}></span>溜珠
                                    <span class="top-up pl5">账户余额支付更快捷，<a href="<{eval url('recharge')}>" target="_blank" style="color:#2af;">立即充值</a></span>
                                </span>
                                <div class="clear"></div>
                            </div>
			</div>	
                        <script type="text/javascript">var orderInfo={'userMoney':<{$userMoney}>,'moenyCount':<{$MoenyCount}>,"shoplen":1};</script>
			<div class="not-enough mt20">
                            <div class="ne-border" id="thirdPlatPayList">
					<p>若余额不足，请选择以下方式完成支付：<span class="fr use-third">使用第三方支付：<span class="boss-red how-balance mr5" id="pay_bankmoney">0</span>溜珠</span></p>
                                        <input type="hidden" value="alipay" name="payType" id="pay_type">
					<ul>
						<li><a class="pay icon-com icon-items icon-support-choice" data-type="alipay" style="margin-left:10px;"><b class="icon-com icon-support-alipay"></b>支付宝</a></li>
						<div class="clear"></div>
					</ul>
				</div>
                                
                            <div class="pearl" style="padding-top: 0;margin:0;">
                                    <!--<p>夺宝有风险，参与需谨慎</p>-->
                                    <span class="fr pt30" style="margin-right: -8px;"><input class="mr5" checked="checked" disabled="true" type="checkbox" id="pay_agreement"/>我已阅读并同意<a href="<{eval url('/lottery/agreement')}>" target="_blank">《服务协议》</a></span>
                                    <div class="clear"></div>
                            </div>
                            <input type="hidden" name="submitcode" value="<{$submitcode}>">
				<div class="payment">
                                    <input class="fr duobao-btn btn-hover " type="submit" value="确认支付" name="submit" id="submit_ok"/>
                                        <a class="fr mr15" href="/forum.php/lottery.html"><<返回溜溜心愿首页</a>
					<div class="clear"></div>
				</div>
			</div>
			<div class="back_change">
				 <a class="fr back-order mr15" href="<{eval url('cart/cartlist')}>">返回修改订单</a>
				 <div class="clear"></div>
			</div>
                    </form>
		</div>		
	</div>

<!--底部-->
  <script type="text/javascript" src="<{$style_dir}>/js/duobao.widget.js"></script>
  <script type="text/javascript" src="<{$style_dir}>/js/jquery.cookie.js"></script>
    <{include file="public/footer.html"}> 
	<script type="text/javascript">
        $(".not-enough li").click(function(){
            $(this).find("a").addClass("icon-support-choice");
            $(this).siblings().find("a").removeClass("icon-support-choice");
        });	
        
        //unenough 余额不足用第三方支付
//        $(".unenough").css("background","#eee");
//        $(".unenough").children().css("color","#bcbcbc");
//        $(".unenough").find(".how-balance").css("color","#bcbcbc");
        
	</script>